package com.example.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.entity.Zhong;
import com.example.demo.entity.Zong;
import com.example.demo.mapper.ZhongMapper;
import com.example.demo.mapper.ZongMapper;
import com.example.demo.service.ZhongService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (Zhong)表服务实现类
 *
 * @author makejava
 * @since 2023-11-22 11:06:39
 */
@Service("zhongService")
public class ZhongServiceImpl extends ServiceImpl<ZhongMapper, Zhong> implements ZhongService {
    @Autowired
    private ZhongMapper zhongMapper;

    public List<Zhong> selectAll() {
        return zhongMapper.selectList(null);
    }
}
